package com.hdax.dmw.base.controller;

import com.hdax.dmw.base.service.DmImageService;
import com.hdax.dmw.common.controllers.base.BaseController;
import com.hdax.dmw.entity.base.DmImage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class DmImageController implements BaseController {

    @Autowired
    private DmImageService imageService;

    public DmImage image(Long targetId,Long type,Long category){
        return imageService.image(targetId, type, category);
    }
}
